package com.abstractgames;

import java.util.ArrayList;

public class Cell {
	int X,Y;
	int I = -1;
	byte booked = 0;
	public ArrayList<Integer> future = new ArrayList<Integer>();
	
	Cell(int x, int y){
		this.X = x;
		this.Y = y;
	}
		
	void getAtom(int i){
		this.I = i;
	}
		
	void getfutureAtom(int i){
		future.add(i);
	}
	
	void empty(){
		this.I = -1;
	}
	
	void emptyfuture(){
		future.clear();
	}
	
	boolean isEmpty(){
		if (this.I == -1) return true;
		else return false;
	}
}
